package club.framework.web.application.sys.resource.mapper;


import club.framework.web.application.sys.resource.entity.Resource;
import club.framework.web.base.entity.BasePageReqEntity;

import java.util.List;

/**
 * @date 2017/9/11.
 * @Email:sunmch@163.com
 * @author: 念梓
 * des:
 */
public interface ResourceMapper {

    public Resource getResourceById(int id);

    public int queryTotalCount(Resource role);

    public int deleteResourceById(int id);

    public List<Resource> queryPage(BasePageReqEntity<Resource> basePageReqEntity);

    public int save(Resource resource);

    public int update(Resource resource);



}
